<#assign base=request.contextPath>
<!DOCTYPE html>
<html>
	<head>
		<#include "common/reference.ftl">
		<script type="text/javascript">
		<!--
			$(function(){
				$('#logout').click(function(){
					window.parent.location.href='${base}/logout';
				});
				var audio = $('#audio')[0];
			});
		//-->
		</script>
	</head>
	<body class="${configs["skinName"]}">
		<div class="navbar navbar-default navbar-fixed-top" id="navbar">
			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>
							<i class="fa fa-windows"></i>
							${configs["systemName"]}
						</small>
					</a>
				</div>
				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav">
					    <li class="green">
                            <a href="${base}/count" target="main_frame">
                                <i class="fa fa-home"></i>
                                统计分析
                            </a>
                        </li>
						<li class="btn-danger">
							<a href="${base}/admin/userPassowd/${user.userId}" target="main_frame">
								<i class="fa fa-key"></i>
								修改密码
							</a>
						</li>
						<li class="light-blue">
							<a>
								<i class="fa fa-user"></i>
								<#if user?exists>
									${user.userName}
								<#else>
									游客
								</#if>
							</a>
						</li>
						<li id="logout" class="gray" title="退出系统">
							<a>
								<i class="fa fa-power-off handle"></i>
								退出
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</body>
</html>